import request from "@/utils/request";

import { method } from "lodash";
import proxy from "@/config/host";

export function selectPage(query) {
    return request({
        url: `cenertech-inner-syfxxt-khfw/project_test/selectPage?page=${query.page}&limit=${query.limit}`,
        method: "get"
    });
}
export function queryList(query) {
    return request({
        url: "/cenertech-inner-syfxxt-khfw/project_test/queryList",
        method: "get"
    });
}
export function queryId(query) {
    return request({
        url: `cenertech-inner-syfxxt-khfw/project_test/queryId?projectId=${query.projectId}`,
        method: "get"
    });
}

export function saveOrUpdate(data) {
    return request({
        url: "/cenertech-inner-syfxxt-khfw/project_test/saveOrUpdate",
        method: "post",
        data
    });
}
export function deleteFun(query) {
    return request({
        url: `cenertech-inner-syfxxt-khfw/project_test/delete?projectId=${query.projectId}`,
        method: "delete"
    });
}
export function getUserList() {
    return request({
        url: `cenertech-outer-syfxxt-khfw/feign_demo/getUserList`,
        method: "Get"
    });
}
export function authorityList() {

    return request({
        url: `system/dynamic_form/authorityList`,
        method: "Get"
    });
}